from models.base import BaseModel, db


class AlbumBroadcastRecordInfo(BaseModel):
    __tablename__ = 'album_broadcast_record_info'
    __table_args__ = {'comment': '短剧广电备案信息表模型'}

    id = db.Column(db.BigInteger, primary_key=True, autoincrement=True)
    album_info_id = db.Column(db.BigInteger, nullable=False, comment='短剧信息ID')
    record_type = db.Column(db.String(255), nullable=False, comment='备案号类型')
    broadcast_record_number = db.Column(db.String(255), nullable=False, comment='广电备案号')
